package com.six.vo;

import java.sql.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 系统权限
 * 
 */
@Entity
@Table(name="WMS_T_PERMISSION")
public class Permission {
	private int permID;// VARCHAR(16) 权限编号
	private String permName;// NVARCHAR2(60) 功能名称
	private String permNote;// NVARCHAR2(512) 描述
	private String parentPermID;// VARCHAR(16) 父级功能
	private String permLimitWay;// VARCHAR(16) 限制方式
	private Date permEditTime;// DATE 最后编辑日期
	private int permIsDel;// SMALLINT 是否已被删除
	private String engName;// NVARCHAR2(60) 权限英文名称
	
	
	public Permission() {
		super();
	}
	public Permission(int permID, String permName, String permNote,
			String parentPermID, String permLimitWay, Date permEditTime,
			int permIsDel, String engName) {
		super();
		this.permID = permID;
		this.permName = permName;
		this.permNote = permNote;
		this.parentPermID = parentPermID;
		this.permLimitWay = permLimitWay;
		this.permEditTime = permEditTime;
		this.permIsDel = permIsDel;
		this.engName = engName;
	}
	@Id
	@GeneratedValue
	public int getPermID() {
		return permID;
	}
	public void setPermID(int permID) {
		this.permID = permID;
	}
	public String getPermName() {
		return permName;
	}
	public void setPermName(String permName) {
		this.permName = permName;
	}
	public String getPermNote() {
		return permNote;
	}
	public void setPermNote(String permNote) {
		this.permNote = permNote;
	}
	public String getParentPermID() {
		return parentPermID;
	}
	public void setParentPermID(String parentPermID) {
		this.parentPermID = parentPermID;
	}
	public String getPermLimitWay() {
		return permLimitWay;
	}
	public void setPermLimitWay(String permLimitWay) {
		this.permLimitWay = permLimitWay;
	}
	public Date getPermEditTime() {
		return permEditTime;
	}
	public void setPermEditTime(Date permEditTime) {
		this.permEditTime = permEditTime;
	}
	public int getPermIsDel() {
		return permIsDel;
	}
	public void setPermIsDel(int permIsDel) {
		this.permIsDel = permIsDel;
	}
	public String getEngName() {
		return engName;
	}
	public void setEngName(String engName) {
		this.engName = engName;
	}
	

}
